<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/29
 * Time: 10:48
 */

namespace vendor\core;


class user
{

//注册，登入，修改密码等方法
    public function login()
    {
        echo "login";
    }

    public function register()
    {
        echo "register";
    }

    public function changePwd()
    {
        echo "changePwd";
    }

    /**
     * user constructor.
     */
    public function __construct()
    {
        echo "USER __construct";
    }

    public function __destruct()
    {
        // TODO: Implement __destruct() method.
        echo "USER __destruct";
        echo "<br>";
    }

}